Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Registering Graphics Import Components

Graphics import components have component type `grip' . The interpretation of the subtype depends on the movieImportSubTypeIsFileExtension component flag. If this flag is clear, the subtype is a Macintosh file type. If this flag is set, the subtype is a file name suffix; it should be in uppercase and followed by space characters to pad it out to four characters. For instance, the file name suffix ".png" would be represented by the subtype `PNG ' .

It is often useful to register graphics import components multiple times, so that both the file type and file name suffix may be matched. An efficient way to do this is to register the second and subsequent components as component aliases to the first. For more information about component aliases, see the Component Manager chapter of QuickTime 4 Reference.

Graphics import components that use the base importer's Draw method should set the graphicsImporterUsesImageDecompressor flag in their component flags.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |